There documentation is poor to put it mildly. After much trial and error here's what I determined is needed for the POST body:
{
"data":
{
"type": "appStoreVersionReleaseRequests",
"relationships":
{
"appStoreVersion":
{
"data":
{
"id": "${the_id_of_the_version_to_release}",
"type": "appStoreVersions"
}
}
}
}
}
Your curl command would look like this:
curl -v -g -X 'POST' -H 'Authorization: Bearer ${JWT}' -H 'Content-Type: application/json' 'https://api.appstoreconnect.apple.com/v1/appStoreVersionReleaseRequests' --data '{"data":{"type":"appStoreVersionReleaseRequests","relationships":{"appStoreVersion":{"data":{"id": "${the_id_of_the_version_to_release}","type": "appStoreVersions"}}}}}'
Post
Replies
Boosts
Views
Activity
This is very problematic for a number of reasons. 1) my bundle id has a dash in it and dashes are not allowed in product ids 2) Having multiple bundle ids is essential to our workflow for testing. I need to be able to have a development version and store version of our app on the same device at the same time.